package evolutionaryballoons.behavior.genetic;

public enum Sources {
	CurrentWindStrength,
	DistanceToClosestPointHorizontally,
	DistanceToClosestPointVertically,
	DistanceToClosestFavorableWind,
	PositionOfClosestFavorableWind,
	DistanceToClosestUnfavorableWind,
	PositionOfClosestUnfavorableWind,
	Lift,
	BurnerStatus,
	HorizontalPosition,
	VerticalPosition,
	Random;
	
	public int cost() {
		switch (this) {
			case CurrentWindStrength:
				return 1;
			case DistanceToClosestPointHorizontally:
				return 2;
			case DistanceToClosestPointVertically:
				return 5;
			case DistanceToClosestFavorableWind:
				return 5;
			case PositionOfClosestFavorableWind:
				return 2;
			case DistanceToClosestUnfavorableWind:
				return 4;
			case PositionOfClosestUnfavorableWind:
				return 2;
			case Lift:
				return 0;
			case BurnerStatus:
				return 0;
			case HorizontalPosition:
				return 1;
			case VerticalPosition:
				return 1;
			case Random:
				return 2;
			default:
				return 0;
		}
	}
}
